package com.un.ebs.sale.domain;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (SaleDeliverNoteItemExt)表实体类
 *
 * @author liubo
 * @since 2020-09-12 12:28:36
 */
@Data
@Component
@TableName("v_sale_deliver_note_item_ext")
@SuppressWarnings("serial")
public class SaleDeliverNoteItemExt extends Model<SaleDeliverNoteItemExt> {


    @DbField(name = "id", length = 40, precision = 0)
    private String id;

    @DbField(name = "code", length = 50, precision = 0)
    private String code;

    @DbField(name = "note_id", length = 40, precision = 0)
    private String noteId;

    @DbField(name = "inventory_note_id", length = 40, precision = 0)
    private String inventoryNoteId;

    @DbField(name = "inventory_note_item_id", length = 40, precision = 0)
    private String inventoryNoteItemId;

    @DbField(name = "sku_id", length = 40, precision = 0)
    private String skuId;

    @DbField(name = "remark", length = 200, precision = 0)
    private String remark;

    @DbField(name = "note_code", length = 100, precision = 0)
    private String noteCode;

    @DbField(name = "customer_ent_id", length = 40, precision = 0)
    private String customerEntId;

    @DbField(name = "customer_ent_name", length = 100, precision = 0)
    private String customerEntName;

    @DbField(name = "linkman", length = 20, precision = 0)
    private String linkman;

    @DbField(name = "phone", length = 20, precision = 0)
    private String phone;

    @DbField(name = "deliver_add", length = 200, precision = 0)
    private String deliverAdd;

    @DbField(name = "deliver_date", length = -1, precision = 0)
    private Date deliverDate;

    @DbField(name = "deliver_type_dict", length = 100, precision = 0)
    private String deliverTypeDict;

    @DbField(name = "sale_contract_code", length = 50, precision = 0)
    private String saleContractCode;

    @DbField(name = "note_remark", length = 1000, precision = 0)
    private String noteRemark;

    @TableField(fill = FieldFill.INSERT)
    @DbField(name = "create_at", length = 40, precision = 0)
    private String createAt;

    @TableField(fill = FieldFill.INSERT)
    @DbField(name = "create_at_name", length = 100, precision = 0)
    private String createAtName;

    @TableField(fill = FieldFill.INSERT)
    @DbField(name = "create_time", length = -1, precision = 0)
    private Date createTime;

    @DbField(name = "submit_status", length = -1, precision = 0)
    private Boolean submitStatus;

    @DbField(name = "submit_time", length = -1, precision = 0)
    private Date submitTime;

    @DbField(name = "submit_at", length = 40, precision = 0)
    private String submitAt;

    @DbField(name = "submit_at_name", length = 100, precision = 0)
    private String submitAtName;

    @DbField(name = "tenant_id", length = 40, precision = 0)
    private String tenantId;

    @DbField(name = "sku_code", length = 100, precision = 0)
    private String skuCode;

    @DbField(name = "sku_name", length = 100, precision = 0)
    private String skuName;

    @DbField(name = "deliver_qty", length = 18, precision = 4)
    private Double deliverQty;

    @DbField(name = "deliver_price", length = 18, precision = 4)
    private Double deliverPrice;


}